﻿using System.Web.Mvc;
using SDCloudSolution.SDCloud.Web.Models.ModelRun;
using SDCloudSolution.SDCloud.Entities.Models;

namespace SDCloudSolution.SDCloud.Web.Models.Model
{
    public class ModelViewModel
    {
        public int ModelId { get; set; }

        public string Name { get; set; }

        public bool IsPublic { get; set; }

        public int? OriginalModelId { get; set; }

        public string Description { get; set; }

        public MvcHtmlString FormattedDescription { get; set; }

        public string FileName { get; set; }

        public bool CanRunModel { get; set; }

        public bool CanStopLastModelExecution { get; set; }

        public ModelRunListItemViewModel LastModelRunItem { get; set; }

        public ModelStatisticsViewModel ModelStatistics { get; set; }

        public ModelMetadataEntity Metadata { get; set; }
    }
}